﻿// Copyright (C) 2012 Kim Jensen, TaskJunction.com
// Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TaskJunctionLib.Model;
using TaskJunctionLib.Mapping.JSON;
using TaskJunctionLib.Communication;

namespace TaskJunctionLib.Repository
{
    public class TaskStatusRepository : CachableRepository<TaskStatus, TaskStatusMapper>, ITaskStatusRepository
    {
        protected override string GetResourceName()
        {
            return "task_statuses";
        }

        public IList<TaskStatus> LoadList()
        {
            return _LoadList(GetResourceName());
        }
    }
}
